export default class UserModel {
    constructor(param) {
        const {
            id,
            userName,
            nickName,
            avatar,
            intro,
            status,
            gender,
            roleId
        } = param || {}
        this.id = id;
        this.userName = userName;
        this.nickName = nickName;
        this.avatar = avatar;
        this.intro = intro;
        this.status = status;
        this.gender = gender;
        this.roleId = roleId;
    }
}